<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Expires" content="0" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-control" content="no-cache" />
    <meta http-equiv="Cache" content="no-cache" />
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no" />
    <link rel="icon" href="img/logo.ico" />
    <title>DNF计算器</title>
    <link rel="stylesheet" href="src/vue.css" />
    <meta name="baidu-site-verification" content="codeva-U1BnBxOPtX" />
    <!-- 1. Theme -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-simple.css" /> -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-simple-dark.css"> -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-defaults.css" /> -->

    <!-- 2. PrismJS Themes -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/prism-github/prism-github.css" /> -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/prism-theme-one-dark/prism-onedark.css"> -->

    <!-- 3. Custom Theme Properties -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-J0NPDEYQJS"></script>
    <style>
      :root {
        /* Reduce the font size */
        /* --base-font-size: 14px; */

        /* Change the theme color hue (0-360) */
        --theme-hue: 15;
        --cover-max-width: 700;
        --sidebar-nav-link-before-content-l2: "-";
        --code-inline-color: rgb(243, 60, 60);
        --code-font-size: 0.8rem;
        --code-font-weight: bolder;

        /* Add sidebar navigation bullets */
        /* --sidebar-nav-link-before-content-l1: '😀';
			--sidebar-nav-link-before-content-l2: '💩'; */
      }
      .cover .mask {
        background: linear-gradient(to left bottom, hsl(172, 100%, 85%) 0%, hsl(15, 100%, 85%) 100%);
        visibility: visible;
      }

      section.cover .cover-main > p:nth-last-child(-n + 3) a:nth-last-child(-n + 3) {
        /* background-color: #42b983; */
        background-color: var(--theme-color, #42b983);
        color: #fff;
      }

      .cover h1 span {
        text-shadow: grey 3px 3px 3px;
      }

      .markdown-section img {
        max-width: 100%;
      }

      .markdown-section > p > img {
        display: block;
        margin: 0 auto;
      }

      .markdown-section {
        position: relative;
        max-width: 60em;
        margin: 0 auto;
        padding: 2rem 45px;
      }
      .version {
        text-shadow: none;
        top: 0;
        font-size: 1.2rem;
        position: absolute;
        font-weight: bolder;
        text-shadow: grey 1px 1px 1px;
      }

      .sidebar ul li a {
        color: #505d6b;
        font-size: 14px;
        font-weight: normal;
        overflow: hidden;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      td:nth-child(1)::before {
        content: "" !important;
      }

      .markdown-section td {
        padding: 5px 10px !important;
      }
    </style>

    <script>
      var _hmt = _hmt || []
      ;(function () {
        const hm = document.createElement("script")
        hm.src = "https://hm.baidu.com/hm.js?472775d2edd6fb31b00828eef60ba388"
        const s = document.querySelectorAll("script")[0]
        s.parentNode.insertBefore(hm, s)
      })()
      // Google 分析
      window.dataLayer = window.dataLayer || []
      function gtag() {
        dataLayer.push(arguments)
      }
      gtag("js", new Date())
      gtag("config", "G-J0NPDEYQJS")
    </script>
  </head>

  <body>
    <!-- <a href="http://dnf.17173.com/" target="_blank" style="position: absolute;z-index: 40;top: 30px;right:30px">
		<img src="https://ue.17173cdn.com/a/www/index/2016v2/img/logo-2018.png">
	</a> -->
    <div id="app"> </div>

    <script>
      // 4. Docsify Configuration
      window.$docsify = {
        name: "DNF计算器",
        repo: "https://gitee.com/dcalc/dnfcalculating_110",
        coverpage: "HTMLSet/coverpage.md",
        homepage: "README.md",
        // homepage   : 'https://raw.githubusercontent.com/jhildenbiddle/docsify-themeable/master/README.md',
        loadSidebar: "HTMLSet/sidebar.md",
        auto2top: true,
        subMaxLevel: 2,
        maxLevel: 3,
        onlyCover: false,
        topMargin: 90,
        routerMode: "history", // 5. docsify-themeable
        nameLink: "/",
        crossOriginLinks: ["https://dnftools.com/"],
        relativePath: true,
        beian: {
          ICP: "赣ICP备2023003492号",
          NISMSP: {
            number: "",
            url: ""
          }
        },
        themeable: {
          // readyTransition : false,
          // responsiveTables: false
        },
        plugins: [
          function (hook, vm) {
            hook.doneEach(content => {
              if (!conent.includes("目录")) {
                return
              }
              const imgs = document.querySelectorAll("img")
              imgs.forEach(a => {
                a.setAttribute("data-src", a.getAttribute("src"))
                a.setAttribute("style", "width:100%;height:auto;min-height:500px")
                a.setAttribute("src", "")
              })

              if (IntersectionObserver) {
                const lazyImageObserver = new IntersectionObserver((entries, observer) => {
                  entries.forEach((entry, index) => {
                    const lazyImage = entry.target
                    // 如果元素可见
                    if (entry.intersectionRatio > 0) {
                      lazyImage.src = lazyImage.getAttribute("data-src")
                      lazyImageObserver.unobserve(lazyImage)
                    }
                  })
                })
                for (let i = 0; i < imgs.length; i++) {
                  lazyImageObserver.observe(imgs[i])
                }
              }
            })
          }
        ]
        //   plugins: [
        //     function (hook, vm) {
        //       // load livere
        //       hook.beforeEach(function (content) {
        //         var comment = ""
        //         if (content.indexOf("和计算器相关的BUG、意见可在此处反馈") > 0) comment = "<div id='lv-container' data-id='city' data-uid='MTAyMC80NjcwNC8yMzIxNA=='></div>\n\n----\n"
        //         return content + comment
        //       })

        //       hook.doneEach(function () {
        //         ;(function (d, s) {
        //           var j,
        //             e = d.getElementsByTagName(s)[0]
        //           if (typeof LivereTower === "function") {
        //             return
        //           }
        //           j = d.createElement(s)
        //           j.src = "https://cdn-city.livere.com/js/embed.dist.js"
        //           j.async = true
        //           e.parentNode.insertBefore(j, e)
        //         })(document, "script")
        //       })
        //     }
        //   ]
      }
    </script>

    <!-- Required: docsify + docsify-themeable -->
    <script src="src/zoom-image.min.js"></script>
    <script src="src/docsify.min.js"></script>
    <script src="src/docsify-themeable.min.js"></script>

    <!-- 6. Docsify Plugins -->
    <script src="src/search.js"></script>
    <script src="src/beian.min.js"></script>
    <!-- <script src="https://unpkg.com/docsify-copy-code"></script> -->
    <!-- <script src="https://unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script> -->
    <!-- <script src="https://unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script> -->
  </body>
</html>
